package com.miyuan.wm.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName AddRecordOutRequestVo
 * @Description 货物出库请求参数类
 */
@Data
@ApiModel(value = "货物出库请求参数类", description = "货物出库请求参数类")
public class AddRecordOutRequestVo implements Serializable {

    @NotNull(message = "客户Id参数不能为空")
    @ApiModelProperty(value = "客户Id", notes = "客户Id")
    private Integer customerId;

    @NotNull(message = "货物Id参数不能为空")
    @ApiModelProperty(value = "货物Id", notes = "货物Id")
    private Integer goodId;

    @NotNull(message = "仓库Id参数不能为空")
    @ApiModelProperty(value = "仓库Id", notes = "仓库Id")
    private Integer respositoryId;

    @NotNull(message = "数量参数不能为空")
    @ApiModelProperty(value = "数量", notes = "数量")
    private Integer number;

}
